%{--
This file is part of dbdjasperreport.

Copyright (C) 2008 Kue Vang aka Kou
Licensed under the Eclipse Public License, Version 1.0; 
you may not use this file except in compliance with the License. 
You may obtain a copy of the License at http://www.eclipse.org/legal/epl-v10.html 
Unless required by applicable law or agreed to in writing, software 
distributed under the License is distributed on an "AS IS" BASIS, 
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
See the License for the specific language governing permissions and limitations 
under the License.
--}%

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Show Parameter</title>
    </head>
    <body>
        <div class="nav">
            <span class="menuButton"><a class="home" href="${createLinkTo(dir:'')}">Home</a></span>
            <span class="menuButton"><g:link class="list" action="list">Parameter List</g:link></span>
            <span class="menuButton"><g:link class="create" action="create">New Parameter</g:link></span>
        </div>
        <div class="body">
            <h1>Show Parameter</h1>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <div class="dialog">
                <table>
                    <tbody>

                    
                        <tr class="prop">
                            <td valign="top" class="name">Id:</td>
                            
                            <td valign="top" class="value">${reportParameter.id}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Report:</td>
                            
                            <td valign="top" class="value"><g:link controller="report" action="show" id="${reportParameter?.report?.id}">${reportParameter?.report}</g:link></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Data Type:</td>
                            
                            <td valign="top" class="value"><g:displayDataType value="${reportParameter.dataType}"/></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Default Operator:</td>
                            
                            <td valign="top" class="value"><g:displayOperator value="${reportParameter.defaultOperator}"/></td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Parameter Display Name:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterDisplayName}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Parameter Name:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterName}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Parameter Value:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterValue}</td>
                            
                        </tr>
						
						<tr class="prop">
                            <td valign="top" class="name">Parameter Value2:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterValue2}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Parameter Filterable:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterFilterable}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Comments:</td>
                            
                            <td valign="top" class="value">${reportParameter.comments}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Parameter Ended:</td>
                            
                            <td valign="top" class="value">${reportParameter.parameterEnded}</td>
                            
                        </tr>
                    
                        <tr class="prop">
                            <td valign="top" class="name">Date Created:</td>
                            
                            <td valign="top" class="value"><g:dateFormat value="${reportParameter.dateCreated}" format="MM/dd/yyyy"/></td>
                            
                        </tr>
                    
                    </tbody>
                </table>
            </div>
            <div class="buttons">
                <g:form>
                    <input type="hidden" name="id" value="${reportParameter?.id}" />
                    <span class="button"><g:actionSubmit class="edit" value="Edit" /></span>
                    <span class="button"><g:actionSubmit class="delete" onclick="return confirm('Are you sure?');" value="Delete" /></span>
                </g:form>
            </div>
        </div>
    </body>
</html>
